import request from './request'

export const getParkgroupApplication = (data) =>
  request({
    url: '/park/getParkgroupApplication',
    method: 'POST',
    data,
  })
export const getPayRate = (data) =>
  request({
    url: '/park/getPayRate',
    method: 'POST',
    data,
  })
export const getParkProperties = (data) =>
  request({
    url: '/park/getParkProperties',
    method: 'POST',
    data,
  })
export const getLatestCashflowAmount = (data) =>
  request({
    url: '/park/getLatestCashflowAmount',
    method: 'POST',
    data,
  })
export const getTodayTotalCashflowAmount = (data) =>
  request({
    url: '/park/getTodayTotalCashflowAmount',
    method: 'POST',
    data,
  })
export const getTodayTotalCashflowCount = (data) =>
  request({
    url: '/park/getTodayTotalCashflowCount',
    method: 'POST',
    data,
  })
export const getOrderStatics = (data) =>
  request({
    url: '/park/getOrderStatics',
    method: 'POST',
    data,
  })
export const getDeviceStatics = (data) =>
  request({
    url: '/park/getDeviceStatics',
    method: 'POST',
    data,
  })
export const getParkCashflowRank = (data) =>
  request({
    url: '/park/getParkCashflowRank',
    method: 'POST',
    data,
  })
export const getOrderFlowAnalysis = (data) =>
  request({
    url: '/park/getOrderFlowAnalysis',
    method: 'POST',
    data,
  })
export const getOperationDataByParkGroup = (data) =>
  request({
    url: '/cs/getOperationDataByParkGroup',
    method: 'POST',
    data,
  })
export const getParkLiveEvents = (data) =>
  request({
    url: '/park/getParkLiveEvents',
    method: 'POST',
    data,
  })
export const getIMSVideoDevices = (data) =>
  request({
    url: '/ims/getIMSVideoDevices',
    method: 'POST',
    data,
  })
export const getIMSVideoUrl = (data) =>
  request({
    url: '/ims/getIMSVideoUrl',
    method: 'POST',
    data,
  })
export const getIMSVideoUrls = (data) =>
  request({
    url: '/ims/getIMSVideoUrls',
    method: 'POST',
    data,
  })
export const getTodayTotalCashflowAmountByPropertyType = (data) =>
  request({
    url: '/park/getTodayTotalCashflowAmountByPropertyType',
    method: 'POST',
    data,
  })

export const getDeviceStatusStatics = (data) =>
  request({
    url: '/park/getDeviceStatusStatics',
    method: 'POST',
    data,
  })
export const getBerthStatusByPark = (data) =>
  request({
    url: '/park/getBerthStatusByPark',
    method: 'POST',
    data,
  })
export const payTypeCountStatistics = (data) =>
  request({
    url: '/optIndicator/payTypeCountStatistics',
    method: 'POST',
    data,
  })
export const stopDurationStatistics = (data) =>
  request({
    url: '/curbview/stopDurationStatistics',
    method: 'POST',
    data,
  })
export const orderStatistics = (data) =>
  request({
    url: '/curbview/orderStatistics',
    method: 'POST',
    data,
  })
export const incomeTrend = (data) =>
  request({
    url: '/curbview/incomeTrend',
    method: 'POST',
    data,
  })
export const conditionStatistics = (data) =>
  request({
    url: '/curbview/conditionStatistics',
    method: 'POST',
    data,
  })
export const disConnectIMSVZVideos = (data) =>
  request({
    url: '/ims/disConnectIMSVZVideos',
    method: 'POST',
    data,
  })
